home *** CD-ROM | disk | FTP | other *** search
/ My Neighborhood / My Neighborhood.iso / mac / MacFiles / ExitDry.Dxr / 00036.ls < prev    next >
Encoding:
Text File  |  1997-11-21  |  3.6 KB  |  99 lines

  1. on exitFrame
  2.   global ListNum, NewRewardList, snapH, snapV, curLoc, RewPetStore, RewMovies, RewGrocery, RewDrugStore, RewDryCleaners, RewFarm, RewZoo, RewGrandMa, RewSchool, RewPark, RewPolice, RewAirport
  3.   if the movieName contains "Zoo" then
  4.     set curLoc to "Zoo"
  5.     set ListNum to getOne(NewCity, "Zoo")
  6.     set NewRewardList to RewZoo
  7.     set snapH to 284
  8.     set snapV to 256
  9.   else
  10.     if the movieName contains "Farm" then
  11.       set curLoc to "Farm"
  12.       set ListNum to getOne(NewCity, "Farm")
  13.       set NewRewardList to RewFarm
  14.       set snapH to 139
  15.       set snapV to 256
  16.     else
  17.       if the movieName contains "Dry" then
  18.         set curLoc to "DryCleaners"
  19.         set ListNum to getOne(NewCity, "DryCleaners")
  20.         set NewRewardList to RewDryCleaners
  21.         set snapH to 469
  22.         set snapV to 374
  23.       else
  24.         if the movieName contains "DS" then
  25.           set curLoc to "DrugStore"
  26.           set ListNum to getOne(NewCity, "DrugStore")
  27.           set NewRewardList to RewDrugStore
  28.           set snapH to 139
  29.           set snapV to 256
  30.         else
  31.           if the movieName contains "Groc" then
  32.             set curLoc to "Grocery"
  33.             set ListNum to getOne(NewCity, "Grocery")
  34.             set NewRewardList to RewGrocery
  35.             set snapH to 469
  36.             set snapV to 324
  37.           else
  38.             if the movieName contains "Air" then
  39.               set curLoc to "Airport"
  40.               set ListNum to getOne(NewCity, "Airport")
  41.               set NewRewardList to RewAirport
  42.               set snapH to 139
  43.               set snapV to 256
  44.             else
  45.               if the movieName contains "Park" then
  46.                 set curLoc to "Park"
  47.                 set ListNum to getOne(NewCity, "Park")
  48.                 set NewRewardList to RewPark
  49.                 set snapH to 139
  50.                 set snapV to 256
  51.               else
  52.                 if the movieName contains "GMA" then
  53.                   set curLoc to "Grandma"
  54.                   set ListNum to getOne(NewCity, "Grandma")
  55.                   set NewRewardList to RewGrandMa
  56.                   set snapH to 139
  57.                   set snapV to 256
  58.                 else
  59.                   if the movieName contains "SCH" then
  60.                     set curLoc to "School"
  61.                     set ListNum to getOne(NewCity, "School")
  62.                     set NewRewardList to RewSchool
  63.                     set snapH to 139
  64.                     set snapV to 256
  65.                   else
  66.                     if the movieName contains "Pet" then
  67.                       set curLoc to "PetStore"
  68.                       set ListNum to getOne(NewCity, "PetStore")
  69.                       set NewRewardList to RewPetStore
  70.                       set snapH to 139
  71.                       set snapV to 256
  72.                     else
  73.                       if the movieName contains "Movi" then
  74.                         set curLoc to "Movies"
  75.                         set ListNum to getOne(NewCity, "Movies")
  76.                         set NewRewardList to RewMovies
  77.                         set snapH to 139
  78.                         set snapV to 256
  79.                       else
  80.                         if the movieName contains "Cop" then
  81.                           set curLoc to "Police"
  82.                           set ListNum to getOne(NewCity, "Police")
  83.                           set NewRewardList to RewPolice
  84.                           set snapH to 139
  85.                           set snapV to 256
  86.                         end if
  87.                       end if
  88.                     end if
  89.                   end if
  90.                 end if
  91.               end if
  92.             end if
  93.           end if
  94.         end if
  95.       end if
  96.     end if
  97.   end if
  98. end
  99.